//package com.seven.controller;
//
//import jakarta.annotation.Resource;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.io.IOException;
//
///**
// * @author seven.Yin
// */
//@RestController
//@RequestMapping("/push")
//public class PushWebSocketController {
//
//    @Resource
//    private WebSockTest webSockTest;
//
//    @GetMapping("msg")
//    public String pushMsg(String msg) throws IOException {
//        webSockTest.sendAllMessage(msg);
//        return "ok";
//    }
//}
